package com.hunt.service.impl;

import com.hunt.dao.UserCountMapper;
import com.hunt.model.dto.UserCount;
import com.hunt.service.UserCountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author Tong
 * @className
 * @description
 * @date 2020/7/3
 */
@Service
@Transactional
public class UserCountServiceImpl implements UserCountService {
    
    @Autowired
    private UserCountMapper userCountMapper;


    @Override
    public List<UserCount> getCount() {
        return userCountMapper.getCount();
    }
}
